INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../core)

SET(TRYGRAHPICS_SOURCES graphics.h scenenode.cpp cameranode.cpp model3dnode.cpp lightnode.cpp particlesnode.cpp rendercontext.cpp renderwindow.cpp graphicsmanager.cpp scenetransformable.cpp model3d.cpp cameracontroller.cpp lightemitter.cpp particlesemitter.cpp)

ADD_LIBRARY(TryGraphics SHARED ${TRYGRAHPICS_SOURCES})

TARGET_LINK_LIBRARIES(TryGraphics ${Horde3D_LIBRARIES})
TARGET_LINK_LIBRARIES(TryGraphics ${GLFW_LIBRARY})
TARGET_LINK_LIBRARIES(TryGraphics TryCore)
